package com.huangliusong.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.huangliusong.dataobject.OrderMaster;

public interface OrderMasterRepository extends JpaRepository<OrderMaster, String> {
	Page<OrderMaster> findByOpenId(String openId, Pageable pageable);

	Page<OrderMaster> findByOrderId(String orderId, Pageable pageable);
}
